import os
import shutil

dir_s = input("path")
the_files = os.listdir(path=dir_s)
print(the_files)
prefix = input("prefix:")
for eachfile in the_files:
    new_name = prefix + eachfile
    shutil.move(dir_s + "/" + eachfile, dir_s + "/" + new_name)
    print(eachfile, "-->", new_name)
